<template>
    <div style="width: 100%;border-radius: 4px;min-height:640px;overflow-y: scroll;border: 1px solid lightgray;background: white">
      <div class="return">
        <span @click="returns"><i class="el-icon-back"></i>返回客户合并</span>
      </div>
      <p style="font-size: 14px;font-weight: bold;margin-left: 30px;margin-bottom: 10px;margin-top: 20px">执行合并</p>
      <el-row v-for="(xi,i) in xinxiList" :key="i" style="margin-left: 30px;font-size: 14px">{{xi}}</el-row>
    </div>
</template>

<script>
  export default {
    name: 'CuMergeXinxi',
    data(){
      return{
        xinxiList:[]//合并信息
      }
    },
    methods:{
      returns(){ //返回
        this.$router.push({
          path:'/customermerge'
        })
      },
    },
    created () {
      if(this.$route.query.xinxiList!=null && this.$route.query.xinxiList!=""){
        this.xinxiList=this.$route.query.xinxiList
      }
    },
    watch:{
      $route(){
        if(this.$route.query.xinxiList!=null && this.$route.query.xinxiList!=""){
          this.xinxiList=this.$route.query.xinxiList
        }
      }
    }
  }
</script>

<style scoped>
  .return{
    border-right:1px solid #ccc;
    width:100px;
    color:#777;
    font-size: 13px;
    margin-left:10px;
    margin-top:10px;
    cursor: pointer;
  }
</style>
